
---@class GT.mouse 鼠标
GT.mouse={}

--- 本地玩家鼠标位置
---@return Point
function GT.mouse.get_local_player_pointing_pos()
    return game_api.get_local_player_pointing_pos()
end


--- 本地玩家鼠标屏幕位置X
---@return Int32
function GT.mouse.get_local_player_ui_pos_x()
    return game_api.get_local_player_ui_pos_x()
end

--- 本地玩家鼠标屏幕位置Y
---@return Int32
function GT.mouse.get_local_player_ui_pos_y()
    return game_api.get_local_player_ui_pos_y()
end

--- 本地玩家鼠标屏幕位置X的窗口占比
---@return Float
function GT.mouse.get_local_role_ui_x_per()
    return game_api.get_local_role_ui_x_per()
end

--- 本地玩家鼠标屏幕位置y的窗口占比
---@return Float
function GT.mouse.get_local_role_ui_y_per()
    return game_api.get_local_role_ui_y_per()
end


--- 设置鼠标关闭右键点击移动
---@param b Bool 开关
function GT.mouse.set_mouse_click_control_move(b)
    game_api.set_mouse_click_control_move(b)
end